﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using VQWEB.administrator.sources;
using VQData;
using VQWEB.common;

namespace VQWEB.administrator.english.excercises
{
    public partial class excercise_all : System.Web.UI.Page
    {
        EnglishData EnglishData = new EnglishData();
        
        protected void Page_Load(object sender, EventArgs e)
        {
            List<eng_excercise> list = EnglishData.ViewAllExcercise();
            foreach (var item in list)
            {
                item.excercise_content = StringHelper.Format(item.excercise_content, item.excercise_id);
            }
            lvExcercise.DataSource = list; ;
            lvExcercise.DataBind();
        }
    }
}